package cn.tedu.zx.product.webapi.mapper;

import cn.tedu.zx.pojo.court.entity.Picture;
import cn.tedu.zx.pojo.court.vo.PictureDetailsVo;
import cn.tedu.zx.pojo.court.vo.PictureListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
/*继承BaseMapper后可以通过注解使用baseMapper中准备好的增删改查方法不需要写对应的方法及SQl语句*/
public interface PictureMapper extends BaseMapper<Picture> {

    PictureDetailsVo selectDetailsById(Long id);

    List<PictureListVo> list();
}
